<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags/table" %>
<div id="role_overview" class="role_overview_div">
	<t:head code="role.overview.title" create="true"/>
	<div class="role_list_div">
		<t:line head="true">
			<t:cell type="id" ><spring:message code="form.id"/></t:cell>
			<t:cell type="name" ><spring:message code="form.name"/></t:cell>
			<t:cell type="description" ><spring:message code="form.description"/></t:cell>
		</t:line>
		<c:forEach items="${roles}" var="role">
			<t:line>
				<t:cell type="id"><c:out value="${role.id}" /></t:cell>
				<t:cell type="name"><c:out value="${role.name}" /></t:cell>
				<t:cell type="description"><c:out value="${role.description}" /></t:cell>
				<t:buttons id="${role.id}" delete="true" edit="true"></t:buttons>
			</t:line>
		</c:forEach>
	</div>
</div>